/**
 * output package name
 */
package com.kingdee.eas.custom.hr.attendance;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class ExceptionStateEnum extends IntEnum
{
    public static final int ALL_VALUE = 1;
    public static final int NORMAL_VALUE = 2;
    public static final int EXCEPTION_VALUE = 3;

    public static final ExceptionStateEnum ALL = new ExceptionStateEnum("ALL", ALL_VALUE);
    public static final ExceptionStateEnum NORMAL = new ExceptionStateEnum("NORMAL", NORMAL_VALUE);
    public static final ExceptionStateEnum EXCEPTION = new ExceptionStateEnum("EXCEPTION", EXCEPTION_VALUE);

    /**
     * construct function
     * @param integer exceptionStateEnum
     */
    private ExceptionStateEnum(String name, int exceptionStateEnum)
    {
        super(name, exceptionStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ExceptionStateEnum getEnum(String exceptionStateEnum)
    {
        return (ExceptionStateEnum)getEnum(ExceptionStateEnum.class, exceptionStateEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static ExceptionStateEnum getEnum(int exceptionStateEnum)
    {
        return (ExceptionStateEnum)getEnum(ExceptionStateEnum.class, exceptionStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ExceptionStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ExceptionStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ExceptionStateEnum.class);
    }
}